package com.bifang.module.file.common.vo;

import com.bifang.assistant.common.vo.BasePageVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class FileClassTreeVO extends BasePageVO {

    @Schema(name = "lazy", title = "是否懒加载，true 是 false 不是 默认false")
    private Boolean lazy;
    @Schema(
            name = "searchText",
            title = "查询内容"
    )
    private String searchText;
    @Schema(
            name = "nodeLevel",
            title = "默认查询级别"
    )
    private Integer nodeLevel;
    @Schema(
            name = "expandedLevel",
            title = "默认展开级别，不传和查询级别一样，查询级别为空时，默认不展开"
    )
    private Integer expandedLevel;
    @Schema(
            name = "parentKey",
            title = "父类key,lazy=true 生效"
    )
    private String parentKey;

    @Schema(title = "文件分类编号")
    private String fileClassCode;

    @Schema(title = "分类标题")
    private String classTitle;

    @Schema(title = "父类编号")
    private String parentCode;

    @Schema(title = "文件环境主键")
    private Long fileEnvId;

    @Schema(title = "文件环境名称")
    private String fileEnvName;


    @Schema(title = "文件存放路径")
    private String fileClassPath;

    @Schema(title = "是否加密，0 否 1 是")
    private String encryptionFlag;

    @Schema(title = "文件大小限制")
    private Long maxSize;

    @Schema(title = "文件类型限制")
    private String fileType;

    @Schema(title = "默认访问过期时间，单位秒")
    private BigDecimal expireTime;

    @Schema(title = "备注")
    private String remarks;

    /** 环境名称 */
    private String envName;

    @Schema(title = "保密级别")
    private String secrecyLevel;

    @Schema(name = "tableName",description = "保存的表名")
    private String tableName;


}
